import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
// 引入 Prism.js 样式
import 'prismjs/themes/prism-tomorrow.css'; // 选择合适的主题

// 引入 Prism.js 核心库
import 'prismjs';

// 引入 Prism.js 语言组件
import 'prismjs/components/prism-javascript.min.js';
import 'prismjs/components/prism-python.min.js'; // 添加需要的语言组件
const app = createApp(App)
app.use(ElementPlus)
app.use(createPinia())
app.use(router)

app.mount('#app')
